import { createApp } from "vue";
import {commonConstants} from "hhlt-core/constants";
import { requestContextPath } from "./constants";
import App from './App.vue'
import store from 'lxsh-cer-web-pc/src/store'
import router from 'lxsh-auth-web-pc/src/router'
import i18n from 'lxsh-auth-web-pc/src/lang' // internationalization
import './router'
import {init} from "hhlt-vue/src/install"
import {layoutInit} from "lxsh-layout/src/install"
import { authInit } from 'lxsh-auth-web-pc/src/install'
import { basedataInit} from 'lxsh-basedata-web-pc/src/install'

import '@/assets/iconfont/iconfont.css'
import {cerInit} from "./install"
import PluginInit from 'lxsh-cer-web-pc/src/plugins/plugin-init'
const app = createApp(App)
init(app)
layoutInit(app)
authInit(app)
basedataInit(app)
cerInit(app).use(router).use(store).use(i18n)
app.use(PluginInit)
app.config.globalProperties.requestContextPath = requestContextPath;
app.mount('#app')
